import 'package:flutter/cupertino.dart';
import 'package:happy_study/core/sqlite_database/dao/student.dart';

import '../../core/model/user_model.dart';
import '../../core/sqlite_database/dao/user.dart';

class LoginState {
  late UserDao userDao;
  late StudentDao studentDao;
  late bool isNeedCreateUser;
  late String userId;
  late String userName;
  late String password;
  late UserModel user;
  late TextEditingController userNameController;
  late TextEditingController passwordController;

  LoginState() {
    userId = "";
    userName = "";
    password = "";
    userDao = UserDao();
    studentDao = StudentDao();
    isNeedCreateUser = true;
    userNameController = TextEditingController();
    passwordController = TextEditingController();
  }
}